﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
</head>
<body style="background-color:White">
    

    <pre style="font-family: Consolas; font-size: 13; color: black; background: white;"><span 
        style="color:blue;">using</span>&nbsp;System;
<span style="color:blue;">using</span>&nbsp;Delta_util.Estaticos;
<span style="color:blue;">using</span>&nbsp;Delta_entidad.Base;
<span style="color:blue;">using</span>&nbsp;Delta_entidad.Atributos;
<span style="color:blue;">namespace</span>&nbsp;SitioINewThreadSoft.Entidades
{
&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">Serializable</span>]
&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttEntidad</span>(<span style="color:#a31515;">&quot;cat_persona&quot;</span>,&nbsp;<span 
        style="color:#a31515;">&quot;id_persona&quot;</span>,&nbsp;<span style="color:blue;">false</span>,&nbsp;3,<span 
        style="color:blue;">true</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_OPERACION_GRID</span>.INSERTAR,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_OPERACION_GRID</span>.ACTUALIZAR,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_OPERACION_GRID</span>.ELIMINAR)]
&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;<span style="color:blue;">class</span>&nbsp;<span 
        style="color:#2b91af;">cat_persona</span>&nbsp;:&nbsp;<span style="color:#2b91af;">TipoBase</span>,&nbsp;<span 
        style="color:#2b91af;">ITipo</span>
&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;System.<span 
        style="color:#2b91af;">Int32</span>&nbsp;_id_persona;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;System.<span 
        style="color:#2b91af;">String</span>&nbsp;_nombre;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;System.<span 
        style="color:#2b91af;">String</span>&nbsp;_apellidos;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;System.<span 
        style="color:#2b91af;">DateTime</span>?&nbsp;_fecha_nacimiento;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;System.<span 
        style="color:#2b91af;">Byte</span>?&nbsp;_edad;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;System.<span 
        style="color:#2b91af;">String</span>&nbsp;_sexo;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">private</span>&nbsp;System.<span 
        style="color:#2b91af;">String</span>&nbsp;_direccion;
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttrParametro</span>(System.Data.<span 
        style="color:#2b91af;">SqlDbType</span>.Int,&nbsp;10,&nbsp;<span style="color:blue;">null</span>,&nbsp;System.Data.<span 
        style="color:#2b91af;">ParameterDirection</span>.Input,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.INSERTAR,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.OBTENER,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.ELIMINAR)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttPropiedad</span>(<span 
        style="color:#a31515;">&quot;Clave&nbsp;de&nbsp;persona&quot;</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:blue;">false</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:#2b91af;">Enumerados</span>.<span 
        style="color:#2b91af;">TIPO_EDITOR</span>.TEXBOX,&nbsp;<span style="color:blue;">null</span>,&nbsp;0)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;System.<span style="color:#2b91af;">Int32</span>&nbsp;id_persona
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;<span style="color:blue;">return</span>&nbsp;_id_persona;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;_id_persona&nbsp;=&nbsp;<span 
        style="color:blue;">value</span>;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttrParametro</span>(System.Data.<span 
        style="color:#2b91af;">SqlDbType</span>.VarChar,&nbsp;50,&nbsp;<span 
        style="color:blue;">null</span>,&nbsp;System.Data.<span style="color:#2b91af;">ParameterDirection</span>.Input,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.INSERTAR)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttPropiedad</span>(<span 
        style="color:#a31515;">&quot;Nombre&quot;</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:blue;">true</span>,&nbsp;<span style="color:#2b91af;">Enumerados</span>.<span 
        style="color:#2b91af;">TIPO_EDITOR</span>.TEXBOX,&nbsp;<span style="color:blue;">null</span>,&nbsp;1)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;System.<span style="color:#2b91af;">String</span>&nbsp;nombre
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;<span style="color:blue;">return</span>&nbsp;_nombre;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;_nombre&nbsp;=&nbsp;<span 
        style="color:blue;">value</span>;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttrParametro</span>(System.Data.<span 
        style="color:#2b91af;">SqlDbType</span>.VarChar,&nbsp;100,&nbsp;<span 
        style="color:blue;">null</span>,&nbsp;System.Data.<span style="color:#2b91af;">ParameterDirection</span>.Input,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.INSERTAR)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttPropiedad</span>(<span 
        style="color:#a31515;">&quot;Apellidos&quot;</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:blue;">false</span>,&nbsp;<span 
        style="color:blue;">true</span>,&nbsp;<span style="color:#2b91af;">Enumerados</span>.<span 
        style="color:#2b91af;">TIPO_EDITOR</span>.TEXBOX,&nbsp;<span style="color:blue;">null</span>,&nbsp;2)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;System.<span style="color:#2b91af;">String</span>&nbsp;apellidos
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;<span style="color:blue;">return</span>&nbsp;_apellidos;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;_apellidos&nbsp;=&nbsp;<span 
        style="color:blue;">value</span>;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttrParametro</span>(System.Data.<span 
        style="color:#2b91af;">SqlDbType</span>.DateTime,&nbsp;23,&nbsp;<span 
        style="color:blue;">null</span>,&nbsp;System.Data.<span style="color:#2b91af;">ParameterDirection</span>.Input,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.INSERTAR)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttPropiedad</span>(<span 
        style="color:#a31515;">&quot;Fecha&nbsp;de&nbsp;nacimiento&quot;</span>,&nbsp;<span 
        style="color:blue;">true</span>,&nbsp;<span style="color:blue;">false</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_EDITOR</span>.TEXBOX,&nbsp;<span 
        style="color:#a31515;">&quot;Formato&nbsp;de&nbsp;la&nbsp;fecha&nbsp;es&nbsp;dd/mm/yyyy&quot;</span>,&nbsp;3)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;System.<span style="color:#2b91af;">DateTime</span>?&nbsp;fecha_nacimiento
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;<span style="color:blue;">return</span>&nbsp;_fecha_nacimiento;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;_fecha_nacimiento&nbsp;=&nbsp;<span 
        style="color:blue;">value</span>;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttrParametro</span>(System.Data.<span 
        style="color:#2b91af;">SqlDbType</span>.TinyInt,&nbsp;3,&nbsp;<span 
        style="color:blue;">null</span>,&nbsp;System.Data.<span style="color:#2b91af;">ParameterDirection</span>.Input,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.INSERTAR)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttPropiedad</span>(<span 
        style="color:#a31515;">&quot;Edad&quot;</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:blue;">false</span>,&nbsp;<span 
        style="color:blue;">true</span>,&nbsp;<span style="color:#2b91af;">Enumerados</span>.<span 
        style="color:#2b91af;">TIPO_EDITOR</span>.TEXBOX,&nbsp;<span style="color:blue;">null</span>,&nbsp;4)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;System.<span style="color:#2b91af;">Byte</span>?&nbsp;edad
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;<span style="color:blue;">return</span>&nbsp;_edad;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;_edad&nbsp;=&nbsp;<span 
        style="color:blue;">value</span>;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttrParametro</span>(System.Data.<span 
        style="color:#2b91af;">SqlDbType</span>.VarChar,&nbsp;20,&nbsp;<span 
        style="color:blue;">null</span>,&nbsp;System.Data.<span style="color:#2b91af;">ParameterDirection</span>.Input,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.INSERTAR)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttPropiedad</span>(<span 
        style="color:#a31515;">&quot;Sexo&quot;</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:blue;">false</span>,&nbsp;<span 
        style="color:blue;">true</span>,&nbsp;<span style="color:#2b91af;">Enumerados</span>.<span 
        style="color:#2b91af;">TIPO_EDITOR</span>.TEXBOX,&nbsp;<span style="color:blue;">null</span>,&nbsp;5)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;System.<span style="color:#2b91af;">String</span>&nbsp;sexo
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;<span style="color:blue;">return</span>&nbsp;_sexo;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;_sexo&nbsp;=&nbsp;<span 
        style="color:blue;">value</span>;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttrParametro</span>(System.Data.<span 
        style="color:#2b91af;">SqlDbType</span>.VarChar,&nbsp;4000,&nbsp;<span 
        style="color:blue;">null</span>,&nbsp;System.Data.<span style="color:#2b91af;">ParameterDirection</span>.Input,&nbsp;<span 
        style="color:#2b91af;">Enumerados</span>.<span style="color:#2b91af;">TIPO_QUERY</span>.INSERTAR)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;[<span style="color:#2b91af;">AttPropiedad</span>(<span 
        style="color:#a31515;">&quot;Dirección&quot;</span>,&nbsp;<span style="color:blue;">true</span>,&nbsp;<span 
        style="color:blue;">false</span>,&nbsp;<span style="color:blue;">false</span>,&nbsp;<span 
        style="color:blue;">true</span>,&nbsp;<span style="color:#2b91af;">Enumerados</span>.<span 
        style="color:#2b91af;">TIPO_EDITOR</span>.TEXBOX,&nbsp;<span style="color:blue;">null</span>,&nbsp;6)]
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">public</span>&nbsp;System.<span style="color:#2b91af;">String</span>&nbsp;direccion
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">get</span>&nbsp;{&nbsp;<span style="color:blue;">return</span>&nbsp;_direccion;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span style="color:blue;">set</span>&nbsp;{&nbsp;_direccion&nbsp;=&nbsp;<span 
        style="color:blue;">value</span>;&nbsp;}
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}
 
 
&nbsp;&nbsp;&nbsp;&nbsp;}
}
</pre>
    

</body>
</html>
